using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Elvex
{
    public static class MessageTip
    {
        private static MessageTipManager globalMessageTipManager { get { return Elvex.Instance.MessageTipManager; } }

        public delegate void ShowCallback(object message);

        public static void Configure(GameObject parent, string asset, Type viewtype, float interval)
        {
            globalMessageTipManager.Configure(parent, asset, viewtype, interval);
        }

        public static void Show(object context)
        {
            globalMessageTipManager.AddMessage(context);
        }
    }
}
